package com.hhkj.api.withdrawal.model.req;

import com.hhkj.admin.sale.model.dopo.SaleWithdrawalAccountDo;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * ApiWithdrawalAccountReq
 *
 * @author zheng
 * @since 2023/11/5 15:47
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ApiWithdrawalAccountReq extends SaleWithdrawalAccountDo {

    @NotBlank(message = "账户不能为空")
    @Override
    public String getAccount() {
        return super.getAccount();
    }

    @NotBlank(message = "姓名不能为空")
    @Override
    public String getName() {
        return super.getName();
    }
}
